#include <opencv2/core.hpp>
#include <vector>
#include <iostream>
#include "robot.hpp"
using namespace std;


Robot::Robot(int id, cv::Point2f center,cv::Point point1,cv::Point point2)
{
    this->id = id;
    this->coordinate = center;
    this->point0 = point1;
    this->point3 = point2;
}

int Robot::get_id()
{
    return this->id;
}

cv::Point2f Robot::get_coordinate()
{
    return this->coordinate;
}

void Robot::set_coordinate(cv::Point2f coordinate)
{
    this->coordinate = coordinate;
}

cv::Point Robot::get_point0()
{
    return this->point0;
}
cv::Point Robot::get_point3()
{
    return this->point3;
}

void Robot::set_point0(cv::Point p)
{
    this->point0=p;
}
void Robot::set_point3(cv::Point p)
{
    this->point3=p;
}